package com.service;

import com.entity.Cart;
import com.entity.Favorite;
import com.pojo.Favorites;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FavoriteService {


    List<Favorites> selectALl(@Param("user_id") int user_id);


    public  int deleteFavorite(@Param("fid") int fid);


    int addFavorite(Favorite cart);
}
